package com.example.project.service;

import com.example.project.vo.model.ChangePasswordVo;
import com.example.project.vo.model.UserDTO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface LoginService {
    void getCaptcha(String uuid, HttpServletResponse response) throws IOException;

    Map<String, Object> login(UserDTO userDTO );

    void logout(HttpServletResponse response);


    void changePassword(ChangePasswordVo changePasswordVo);


    void sendEmailCode(String email);
}
